package cn.ii8080.i8.web.annotaions;
import java.lang.annotation.*;

/**
 * 注册接口
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Api {
    String value() default "";

    String[] roles() default {};

    String rolesLogical() default "AND";

    String[] permissions() default {};

    String permissionsLogical() default "AND";

    boolean enabled() default true;
}
